Loads the image from a System.IO.Stream. JPEG, PNG, GIF, BMP, TIFF, ICO, JPEG XR formats are supported.
シンタックス
'宣言
Public Overloads Sub Load( _
ByVal As System.IO.Stream, _
ByVal As WicContainerFormat, _
ByVal As System.Integer, _
ByVal As System.Nullable(Of Rectangle), _
ByVal ParamArray () As BaseTransform _
)
public void Load(
System.IO.Stream ,
WicContainerFormat ,
System.int ,
System.Nullable<Rectangle> ,
params BaseTransform[]
)
パラメータ
- stream
- The input stream.
- containerFormat
- The image container format; use Unknown to detect the format automatically.
- frameIndex
- Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
- imageRect
- Clipping rectangle for the image after all transformations.
- transforms
- The transformation chain for the image that is being loaded.
参照